package com.ea.admin.pojo.param.user;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.ea.admin.service.UserService;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadRowHeight(60)
public class UserInfoParam {
    /**
     * 姓名
     */
    @ExcelProperty(value =
            {
                    UserService.CELL_HEAD,
                    "姓名"
            }, index = 0)
    private String name;

    /**
     * 单位名称
     */
    @ExcelProperty(value =
            {
                    UserService.CELL_HEAD,
                    "单位名称"
            }, index = 1)
    private String companyName;

    /**
     * 部门名称
     */
    @ExcelProperty(value =
            {
                    UserService.CELL_HEAD,
                    "部门名称"
            }, index = 2)
    private String deptName;

    /**
     * 职位名称
     */
    @ExcelProperty(value =
            {
                    UserService.CELL_HEAD,
                    "职位名称"
            }, index = 3)
    private String positionName;

    /**
     * 性别
     */
    @ExcelProperty(value =
            {
                    UserService.CELL_HEAD,
                    "性别"
            }, index = 4)
    private String sex;

    @ExcelProperty(value =
            {
                    UserService.CELL_HEAD,
                    "出生日期"
            }, index = 5)
    private String birthday;

    /**
     * 照片文件名
     */
    @ExcelProperty(value =
            {
                    UserService.CELL_HEAD,
                    "照片文件名"
            }, index = 6)
    private String photoFileName;
}
